array_reverse(explode("/", $_SERVER['REQUEST_URI']))[1];
document.URL.split('/')[document.URL.split('/').length - 2]